package com.liangsui.mss.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 排班信息表
 * @TableName his_scheduling
 */
@TableName(value ="his_scheduling")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Scheduling extends BaseEntity implements Serializable {
    /**
     * 医生ID
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 科室ID
     */
    @TableField(value = "dept_id")
    private Long deptId;

    /**
     * 值班日期
     */
    @TableField(value = "scheduling_day")
    private String schedulingDay;

    /**
     * 排班时段1上午  2下午 3晚上 字典表数据翻译
     */
    @TableField(value = "subsection_type")
    private String subsectionType;

    /**
     * 排班类型1 门诊 2 急诊 字典表数据翻译
     */
    @TableField(value = "scheduling_type")
    private String schedulingType;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 创建者
     */
    @TableField(value = "create_by")
    private String createBy;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    public static final String COL_USER_ID = "user_id";

    public static final String COL_DEPT_ID = "dept_id";

    public static final String COL_SCHEDULING_DAY = "scheduling_day";

    public static final String COL_SUBSECTION_TYPE = "subsection_type";

    public static final String COL_SCHEDULING_TYPE = "scheduling_type";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_CREATE_BY = "create_by";
}